package com.ruoyi.system.service.req;

import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author：liyouxin
 * @date：2023/8/20 22:42
 */
@Data
@Builder
public class CustomerConsumeDTO {
	@NotNull(message = "客户id不能为空")
	private Long id;

	@NotNull(message = "金额不能为空")
	private Integer amount;

	@NotBlank(message = "原因不能为空")
	private String reason;
}
